#include "workerentity.h"

WorkerEntity::WorkerEntity()
{
}

void WorkerEntity::setWorkerId(int _worker_id)
{
    worker_id = _worker_id;
}

int WorkerEntity::getWorkerId()
{
    return worker_id;
}

void WorkerEntity::setName(QString _name)
{
    name = _name;
}

QString WorkerEntity::getName()
{
    return name;
}

void WorkerEntity::setAddress(QString _address)
{
    address = _address;
}

QString WorkerEntity::getAddress()
{
    return address;
}

void WorkerEntity::setCity(QString _city)
{
    city = _city;
}

QString WorkerEntity::getCity()
{
    return city;
}

void WorkerEntity::setNicNo(QString _nic_no)
{
    nic_no = _nic_no;
}

QString WorkerEntity::getNicNo()
{
    return nic_no;
}

void WorkerEntity::setPhone(QString _phone)
{
    phone = _phone;
}

QString WorkerEntity::getPhone()
{
    return phone;
}

void WorkerEntity::setJoinedDate(QString _join_date)
{
    join_date = _join_date;
}

QString WorkerEntity::getJoinedDate()
{
    return join_date;
}

void WorkerEntity::setDeleted(int _deleted)
{
    deleted = _deleted;
}

int WorkerEntity::getDeleted()
{
    return deleted;
}
